﻿namespace FH.Data
{
    public class FHCookieAuthenticationDefaults
    {
        /// <summary>
        /// The default value used for authentication scheme
        /// </summary>
        public const string AuthenticationScheme = "Authentication";
        /// <summary>
        /// The default value used for external authentication scheme
        /// </summary>
        public const string ExternalProxyAuthentication = "ExternalProxyAuthentication";
        /// <summary>
        /// The default value used for external authentication scheme
        /// </summary>
        public const string ExternalStoreAuthentication = "ExternalStoreAuthentication";
        /// <summary>
        /// The default value used for external authentication scheme
        /// </summary>
        public const string ExternalAdminAuthentication = "ExternalAdminAuthentication";
        /// <summary>
        /// The prefix used to provide a default cookie name
        /// </summary>
        public static readonly string CookiePrefix = ".FH.";

        /// <summary>
        /// The issuer that should be used for any claims that are created
        /// </summary>
        public static readonly string ClaimsIssuer = "Farmer";
        /// <summary>
        /// The default value for the login path
        /// </summary>
        public static readonly string LoginPath = "/login";
        /// <summary>
        /// The default value for the login path
        /// </summary>
        public static readonly string LoginStore = "/account/store";
        /// <summary>
        /// The default value for the login path
        /// </summary>
        public static readonly string LoginProxy = "/account/proxy";
        /// <summary>
        /// The default value for the login path
        /// </summary>
        public static readonly string LoginAdmin = "/admin/login";
        /// <summary>
        /// The default value used for the logout path
        /// </summary>
        public static readonly string LogoutPath = "/account/logout";

        /// <summary>
        /// The default value for the access denied path
        /// </summary>
        public static readonly string AccessDeniedPath = "/account/nopremission";
    }
}
